package com.example.service;

import com.example.entity.paperlessMaintance.PaperlessMaintanceApply;
import com.example.ext.entity.ExtElevator;

import java.util.Map;

/**
 * 无纸化维保申请
 */
public interface PaperlessMaintService {
    Map<String,Object> query(PaperlessMaintanceApply paperlessMaintanceApply);

    Map<String,Object> add(PaperlessMaintanceApply paperlessMaintanceApply);

    Map<String,Object> update(PaperlessMaintanceApply paperlessApply);

    Map<String,Object> delete(Map map);

    Map<String,Object> exportLetterOfCommitmentDoc(PaperlessMaintanceApply paperlessApply);

    /**
     * 查询无纸化维保可选的无纸化申请对象(需要满足申请对象下所有电梯都已做过两次以上维保)
     * @param
     * @return
     */
    Map<String,Object> getOptionalJgParty(ExtElevator extElevator);

    /**
     * 获取维保单位电梯所在的区局
     * @param map
     * @return
     */
    Map<String,Object> paperlessGetApplicantList(Map map);

    /**
     * 开始核查申报条件
     * @param map
     * @return
     */
    Map<String,Object> paperlessStartCheck(Map map);

    /**
     * 无纸化审核 监管单位
     * @param paperlessMaintanceApply
     * @return
     */
    Map<String,Object> updateCheck(PaperlessMaintanceApply paperlessMaintanceApply);
}
